package com.wyp.service;

import com.wyp.entity.User;
import com.wyp.vo.UserVO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;

/**
 * 用户service
 *
 * @author: Oliver
 */
@Service
public interface UserService {
    String login(HttpServletResponse response, UserVO userVO);

    User getUserByToken(String token, HttpServletResponse response);
}
